from django.db import models

# Create your models here.
class ServerInfo(models.Model):
    hostname = models.TextField(max_length=50,verbose_name='主机名')
    os = models.TextField(max_length=50,verbose_name='操作系统')
    cpu = models.TextField(max_length=10,verbose_name='CPU')
    memory = models.TextField(max_length=10,verbose_name='内存')
    ip = models.TextField(max_length=20,verbose_name='IP')

    class Meta:
        db_table = 'SERVER_INFO'